import request from '@/utils/request'

// 查询考试点录入成绩列表
export function listImportGrade(query) {
  return request({
    url: '/exam/importGrade/list',
    method: 'get',
    params: query
  })
}

// 查询考试点录入成绩详细
export function getImportGrade(id) {
  return request({
    url: '/exam/importGrade/' + id,
    method: 'get'
  })
}

// 新增考试点录入成绩
export function addImportGrade(data) {
  return request({
    url: '/exam/importGrade',
    method: 'post',
    data: data
  })
}

// 修改考试点录入成绩
export function updateImportGrade(data) {
  return request({
    url: '/exam/importGrade',
    method: 'put',
    data: data
  })
}

// 删除考试点录入成绩
export function delImportGrade(id) {
  return request({
    url: '/exam/importGrade/' + id,
    method: 'delete'
  })
}


// 将信息加入到考试合格申请
export function addexamPassCertificateInfo(applicationId) {
  return request({
    url: '/exam/importGrade/examCertificate/' + applicationId,
    method: 'get'
  })
}

